use iced::{Column, Container, Element, Scrollable};
use iced_native::Align;

pub(crate) struct LogList {
    dir: String,
}

impl LogList {
    fn view(&mut self) -> Element<'_, Self::Message> {
        // POST 取文件列表
        let file_list = Scrollable::new()
            .align_items(Align::Start)
            .padding(10)
            .spacing(10);

        Container::new(file_list).padding(16).into()
    }
}
